package fairygui.editor.dialogs
{
   import fairygui.UIPackage;
   import fairygui.editor.Consts;
   import fairygui.editor.EditorWindow;
   import fairygui.editor.WindowBase;
   import flash.desktop.NativeApplication;
   
   public class AboutDialog extends WindowBase
   {
       
      
      public function AboutDialog(param1:EditorWindow)
      {
         super();
         _editorWindow = param1;
         this.contentPane = UIPackage.createObject("Builder","AboutDialog").asCom;
         this.centerOn(_editorWindow.groot,true);
         this.modal = true;
         var _loc2_:XML = NativeApplication.nativeApplication.applicationDescriptor;
         var _loc3_:Namespace = _loc2_.namespace("");
         var _loc4_:String = _loc2_._loc3_::versionNumber;
         contentPane.getChild("version").text = _loc4_;
         contentPane.getChild("msg").text = Consts.about;
         contentPane.getChild("n14").addClickListener(this.closeEventHandler);
      }
   }
}
